home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Games / PC-SIG World of Games (CDRM1080710) (1993).iso / 2391 / NAB16.EXE / lha / NABBIT.DOC < prev    next >
Text File  |  1991-03-29  |  22KB  |  453 lines

  1.  
  2.                  * * * * * * * * * * * * * * * *
  3.                  *                             *
  4.                  *  Nabbit (tm)   Version 1.6  *
  5.                  *  Copyright 1991 by RSE Inc  *
  6.                  *       March 10, 1991        *
  7.                  *                             *
  8.                  * * * * * * * * * * * * * * * *
  9.  
  10. ***  Welcome! ***
  11.  
  12. Nabbit lets you grab ASCII characters off your screen and send them to 
  13. your printer to print envelopes, labels, or partial screen dumps.  In 
  14. addition, you can store the captured characters in a buffer and insert 
  15. them through the keyboard whenever you press the insert "hot key".  This 
  16. lets you easily exchange data between different programs.  It's an 
  17. extremely useful tool, one that you will constantly find new uses for. 
  18.  
  19. Nabbit is copyrighted by RSE Inc.  It is user-supported shareware.  As 
  20. such, you are encouraged to freely distribute copies of the NAB16.EXE 
  21. file to whomever you please, as long as you don't charge anything for the 
  22. copies.  Please don't distribute the individual "extracted" files as it 
  23. defeats the virus check, and causes other complications.  Only distribute 
  24. NAB16.EXE. 
  25.  
  26. If a fter evaluating Nabbit you decide to continue using it, then you 
  27. must register by sending $10 to: 
  28.  
  29.      Nabbit                         Visa or MC customers:
  30.      1157 57th Drive SE             (206) 939-4105
  31.      Auburn, WA 98002               Compuserve: 72371,1557
  32.  
  33. Add $1 extra for 3.5 disk and $5 extra for overseas orders.
  34.  
  35. A book containing printed documentation for all of our shareware products 
  36. (including Nabbit) is available for an extra $5. 
  37.  
  38. Registered users receive the following benefits:
  39.  
  40.     1.  Our "Sampler Disk" which contains the latest versions of our 10 
  41.         shareware products, including Hide-It, PC-Directory, Playback, 
  42.         PC-Images, PC-FileNotes, BriteLine, Conjecture, Remind Me! and 
  43.         Trash-It. 
  44.     2.  Technical support, the latest version of Nabbit, and a "decoder" 
  45.         which converts all future versions to registered versions. 
  46.     3.  Our sincere thanks for supporting our efforts.
  47.     4.  No more annoying "please register" messages.
  48.  
  49. Those using Nabbit in a commercial environment must register within 30 
  50. days.  Site licenses are available. Please write for details. 
  51.  
  52. ***  Nabbit Instructions  ***
  53.  
  54. Nabbit is a small TSR (Terminate and Stay Resident) program.  You load it 
  55. once at the beginning of a session and it stays hidden until you press 
  56. its "hot key".  Then it goes to work.  When you're done with it, your 
  57. original program continues as tho nothing had happened. 
  58.  
  59. When I said it was a small program, I meant small.  It only takes up 
  60. about 1.6K of memory, plus whatever you allocate for the insert buffer 
  61. (more on that later).  To keep it tiny I left out some of the niceties 
  62. you'll find in our other programs.  Things like pop-up windows and menus.  
  63. But because the program is so simple, you won't need them. 
  64.  
  65. ** To load Nabbit into memory **
  66.  
  67. -- Go to the disk or subdirectory where NAB.COM is and enter NAB at the 
  68. DOS prompt. 
  69.  
  70. You'll notice the information displayed when Nabbit is loaded contains a 
  71. menu of all the keys you'll use to operate it.  If you're familiar with 
  72. TSR's you could probably just use this information to figure out how 
  73. things work.  However, there are a number of things you will miss if you 
  74. don't read these instructions, so please continue on. 
  75.  
  76. ** To remove Nabbit from memory **
  77.  
  78. If you need to remove Nabbit from memory enter "nab/u" at the DOS prompt.  
  79. Remember, you must remove TSR's in the reverse order in which they were 
  80. loaded.  If you don't, Nabbit may not be able to remove itself or your 
  81. computer may lock up requiring a re-boot. 
  82.  
  83. ** Activating Nabbit **
  84.  
  85. You activate Nabbit by pressing its "hot key".  The default is Ctrl-G 
  86. (press the Ctrl and the G key at the same time), but you can change the 
  87. "hot key" by using the Configuration program.  We'll discuss the 
  88. Configuration program later. 
  89.  
  90. -- Activate Nabbit by pressing Ctrl-G
  91.  
  92. Hear those two low beeps.  They're letting you know Nabbit's ready.  In 
  93. text modes Nabbit also makes the cursor bigger when it's activated.  In 
  94. graphic modes Nabbit draws its own little cursor.  The cursor may or may 
  95. not be located at the same place as the cursor being used in your 
  96. application.  If you can't find Nabbit's cursor, check the upper left 
  97. corner of the screen. 
  98.  
  99. ** Escaping **
  100.  
  101. If you need to exit Nabbit, just press the Escape key.  You'll hear one 
  102. low beep indicating Nabbit has finished.  Your cursor will be restored to 
  103. its original size and location. 
  104.  
  105. ** Marking your text **
  106.  
  107. Once you've activated Nabbit you need to tell it what part of the screen 
  108. you want to capture.  First, you mark the upper left corner of the area 
  109. you want captured.  Use the cursor keys (up, down, left, and right arrow 
  110. keys), Tab, Home (move to start of line) or End (move to last column in 
  111. line) to move the cursor to the upper left corner of the characters you 
  112. want to get.  Press S (for start).  You'll hear an ascending series of 
  113. beeps letting you know that this is the starting place.  
  114.  
  115. --  Mark the upper left corner of the area you want to capture by moving 
  116. the cursor to that point and pressing S for Start. 
  117.  
  118. Now that you've marked the start, it only makes sense to mark the end.  
  119. This time move the cursor to the end (the lower right corner) of the area 
  120. you want to capture.  The key you press to mark the end depends on what 
  121. you want to do.   Your options are: 
  122.     
  123.     For printing, press:
  124.  
  125.        E  to print a regular size envelope
  126.  
  127.        B  to print on a big envelope
  128.  
  129.        L  if you want to print a label, or just send the text to the 
  130.           printer unformatted.
  131.  
  132.     To store in the Insert buffer, press:
  133.  
  134.        I  to capture the text as is
  135.  
  136.        Space Bar  to capture the text, removing carriage returns and 
  137.           multiple spaces
  138.  
  139. ** A Sample **
  140.  
  141. Load Nabbit into memory (if you haven't already) by entering "nab" at the 
  142. DOS prompt.  Let's say you want to register Nabbit so you need to print 
  143. an envelope to put the $10 in.  Activate Nabbit by pressing Ctrl-G.  Move 
  144. the cursor to the upper left corner of the address (the G in Nabbit) and 
  145. press S to signal that this is the start of the block.  Move the cursor 
  146. to the lower right corner of the address (on the zip code line, directly 
  147. below the E in SE).  Turn on your printer, insert an envelope, and press 
  148. E (for Envelope).  That's it.  Tough huh?   (If your printer didn't, then 
  149. check the problems section.) 
  150.  
  151. ** What Nabbit Nabs **
  152.  
  153. What Nabbit actually grabs depends on what you ask it to do.  If you're 
  154. sending it to the printer then it grabs all the characters within a box 
  155. defined by where you press S and where you press E, B, or L.  However, if 
  156. you are putting it into the Insert buffer then Nabbit grabs from S to the 
  157. end of the line, and all of the lines down to where you press I or the 
  158. Space Bar. 
  159.  
  160. Envelopes and labels grab like this:
  161.  
  162.              S............
  163.              .............
  164.              ............E
  165.  
  166.              
  167. The Insert buffer grabs like this:
  168.  
  169.              
  170.                    S...........................................................
  171. ...............................................................................
  172. ..................................I 
  173.  
  174. When you press I, the Insert buffer grabs the block as it is, with 
  175. carriage returns and multiple spaces intact.  However, if you press the 
  176. Space Bar the insert buffer strips out carriage returns and multiple 
  177. spaces.  
  178.  
  179. You can have the insert buffer grab in the same way as an envelope by 
  180. using Ctrl-I and Ctrl-SpaceBar.  If you use the Ctrl values the insert 
  181. buffer will grab those characters in a box defined by where you press S 
  182. and where you press either Ctrl-I or Ctrl-S.
  183.  
  184. Nabbit uses a BIOS call (a built-in function of your computer) to grab 
  185. the characters off the screen.  In text mode it recovers everything 
  186. (although Nabbit doesn't capture the color of the characters).  In 
  187. graphics modes it really depends on what your application is doing.  
  188. Programs like desktop publishers which use a WYSIWYG display aren't going 
  189. to capture anything.  On the other hand, there are many other 
  190. applications that do fine.  As a general rule, if your screen is showing 
  191. more than one typestyle, or more than one size of type, then you're 
  192. probably not going to be able to grab anything.  The only way to know is 
  193. to try.  If it works, it works.  (I went to college so I could write like 
  194. this....) 
  195.  
  196. ** Printing **
  197.  
  198. The only difference between pressing E, B, or L is how many spaces the 
  199. printer moves over before it starts printing and how many lines it 
  200. scrolls after it's done.  The table below shows the default values.  You 
  201. can change these using the infamous configuration program we'll discuss 
  202. later. 
  203.  
  204.                06        # of lines for label
  205.                FormFeed                 envelope
  206.                FormFeed                 big envelope
  207.  
  208.                0         Tab spaces for label 
  209.                40                       envelope
  210.                50                       big envelope
  211.  
  212. "# of lines" needs some explaining.  When Nabbit finishes printing what 
  213. you captured, it continues scrolling until it reaches a multiple of the 
  214. "# of lines" value.  For example, if the # of lines for labels 
  215.  
  216. is 6, and you print a label and the area you capture is 4 lines long, 
  217. then Nabbit would scoll another two lines after it was done printing, for 
  218. a total of 6 lines.  If the captured area had been 8 lines long, then it 
  219. would've scrolled 4 lines upon completion, for a total of 12 lines, an 
  220. even multiple of 6.  If you set the "# of lines" to "FormFeed" then 
  221. Nabbit sends a form feed to the printer when it's done.  This normally 
  222. causes the printer to scroll to the end of a normal 11 inch long page. 
  223.  
  224. ** Controlling Print Style **
  225.  
  226. When you print Envelopes or Big Envelopes you can have Nabbit send an 18 
  227. code Initialization string to the printer before printing, and a 12 
  228. character Reset code when printing is done.  This lets you tell your 
  229. printer, via printer codes, how you want to print.  For example, you may 
  230. want it to print in bold, or italics, or both.  You define these strings 
  231. using the Configuration program, which we'll discuss later. 
  232.  
  233. ** Linefeeds before printing **
  234.  
  235. You can put linefeeds (Character 10) in the Initialization string thereby 
  236. causing the printer to jump down so many lines before printing starts.  
  237. This is useful for laser printers or any other printer where you can't 
  238. align the print head before printing. 
  239.  
  240. ** What's that obnoxious noise? **
  241.  
  242. If you try to print something and you hear a continuing series of low 
  243. notes that sound like they're pronouncing impending doom, Nabbit's 
  244. telling you it can't send the material to the printer.  It continues 
  245. making this noise until the problem is fixed or you press a key.  Usually 
  246. someone forgot to turn the printer on.  If that someone tries turning on 
  247. the printer, things will probably work just fine.  If it's not the power, 
  248. then check if the printer has paper. 
  249.  
  250. ** Partial Screen Prints **
  251.  
  252. The normal DOS print screen function works fine if you want to print the 
  253. entire screen.  But what if you only want to print out part of the 
  254. screen?  No sweat.  Just use Nabbit, and print a Label.  
  255.  
  256. If you find yourself doing partial screen prints a lot (it's addicting) 
  257. and you hardly ever use Nabbit to print real labels then you might want 
  258. to use the Configuration program to change the "# of lines for labels" to 
  259. "LineFeed".  That way when you do a partial screen print using Nabbit, 
  260. the printer will scroll to the end of the page after it's done. 
  261.  
  262. ** Inserting text **
  263.  
  264. When you press I or the Space Bar, Nabbit puts what it grabs into the 
  265. Insert buffer.  You can adjust the size of the buffer from 256 bytes to 
  266. 3072 bytes by using the configuration program.  The default value is 256 
  267. bytes.  Nabbit only grabs as much as the buffer holds, even if you try to 
  268. grab more.  Therefore, if Nabbit inserts less than you grabbed, then you 
  269. grabbed more than the buffer can hold.  Use the configuration program to 
  270. increase the size of the buffer. 
  271.  
  272. Once you've grabbed something and put it into the Insert buffer, it stays 
  273. there waiting for you to press the Insert "hot key" (Ctrl-I by default).  
  274. When you press the Insert "hot key" Nabbit waits until the program you're 
  275. using goes looking for an input from the keyboard.  Nabbit then jumps in 
  276. and gives your program what's in the Insert buffer instead.  The effect 
  277. is the same as if you were typing the "grabbed" stuff in yourself. 
  278.  
  279. This can be really handy.  The most obvious use is to copy data from one 
  280. application to another.  For example, the letter you wrote Bob last week 
  281. has a paragraph in it you want to put in Freds letter.  You bring up 
  282. Bob's letter, capture the paragraph using Nabbit, and then edit Fred's 
  283. letter.  Move to where you want to place the paragraph and press the 
  284. Insert "hot key".  The paragraph will be inserted as though you were 
  285. typing it in anew. 
  286.  
  287. You could have just as easily entered the paragraph into your spreadsheet 
  288. program, data base, or desktop publisher.  
  289.  
  290. Let's say you want to write an instruction manual and you want to insert 
  291. part of directory listing.  Since format is important here, you'd grab 
  292. the directory listing using "I" instead of the Space Bar.  Remember, 
  293. pressing "I" leaves all multiple spaces and carriage returns intact, the 
  294. Space Bar strips them out.  So if you want to retain the general format 
  295. of what you are capturing, press "I".  In all other cases press the Space 
  296. Bar. 
  297.  
  298. You can also use this feature as a keystroke expander.  For example, 
  299. you're writing a letter and there's a particular word or phrase that 
  300. occurs over and over again.  Use Nabbit to capture it and then use the 
  301. Insert "hot key" to type it in whenever you need it. 
  302.  
  303. How fast the stuff gets inserted depends on how fast the original 
  304. application goes looking for keystrokes, and how high you adjust the 
  305. "Rate" value in the configuration program.  Setting the Rate value to one 
  306. sends about 18 characters a second.  This may sound fast, it's really 
  307. not.  Setting the value to 15 (the highest value, and also the default 
  308. value) attempts to insert 273 characters a second.  Remember though, most 
  309. of the time the limiting factor is how fast the original application goes 
  310. looking for keyboard input.  Nabbit won't insert characters any faster 
  311. than they are requested.  However, some programs continue looking for 
  312. characters even when they can't accept them anymore (go figure).  In 
  313. these cases you may want to reduce the Rate value so the program has time 
  314. to catch up with itself between each character. 
  315.  
  316. ** Repeat operations **
  317.  
  318. In some applications it may be handy to grab information from the same 
  319. spot on the screen over and over.  It sure would be nice if you didn't 
  320. have to define the same capture area each time.  Well there's an easier 
  321. way.  
  322.  
  323. If you activate Nabbit and make your selection (L,E,B,I,Space Bar) 
  324. without moving the cursor then Nabbit will grap from the same area as the 
  325. previous time you used it. 
  326.  
  327. As an example let's say that instead of just printing one envelope you 
  328. want to print two.  You'd activate Nabbit and print an envelope just as 
  329. we discussed earlier.  However, for the second envelope you'd just 
  330. activate Nabbit and press E for Envelope.  Since you didn't move the 
  331. cursor the second time Nabbit would grab stuff from the same area as it 
  332. did the first time.  
  333.  
  334. Another example:  You're working with a data base program where the name 
  335. and address of the person always appears in the same place on the screen.  
  336. You want to print envelopes for each.  You'd only have to define the 
  337. capture area the first time.  From then on you would just activate Nabbit 
  338. and press the selected option (L,E,B, etc..). 
  339.  
  340. ** The Configuration program **
  341.  
  342. We've mentioned several items that you can change using the configuration 
  343. program.  Here's how: 
  344.  
  345. -- Go to the subdirectory where all the Nabbit files reside
  346.  
  347. -- Enter "config" at the DOS prompt
  348.  
  349. -- A list will appear of the items you can change, and their current 
  350.    values. 
  351.  
  352. -- Press the up and down arrow keys to select the item you want to 
  353.    change.
  354.  
  355. -- Press the left and right arrow keys to change the value of the 
  356.    selected item.
  357.  
  358. To change a "hot key" you first select the shift state of that hot key 
  359. and select either Ctrl, Alt, or Ctrl-Alt.  Then select the item below it, 
  360. press the right arrow key, and then press the key that goes with the 
  361. shift state.  For example to change the Insert "hot key" to "Alt-F10" 
  362. you'd first select the Insert Shift State, press the right arrow key 
  363. until "Alt" appears, move down one line, press the right arrow key once, 
  364. and then press the F10 key. 
  365.  
  366. ** Printer Codes **
  367.  
  368. The last two items (Init and Reset) are ways you can control your printer 
  369. output during the printing of envelopes.  The Init string will be sent to 
  370. your printer before the envelope is printed, the Reset string afterward.  
  371. Each string consists of decimal ASCII characters separated by commas.  
  372. The Init string can be 18 control codes long, the Reset 12.  If you enter 
  373. more than these amounts the string will be truncated.  These numbers 
  374. refer to the number of codes entered, not the number of characters.  For 
  375. example, "27,69,27,46" is 4 codes long, not 11. 
  376.  
  377. You can find what control codes your printer uses by checking your 
  378. printer manual.  Make sure you use decimal ASCII codes, not hex ASCII.  
  379. As an example, on my printer, the code to set boldface is 27,69.  It is 
  380. also referenced as <ESC> "E" and 1B,45 (hex).  Once again, make sure you 
  381. use the decimal ASCII values and seperate each code by a comma.  You can 
  382. put linefeeds (ASCII code 10) in your Initialization string if you 
  383. desire. 
  384.  
  385. Your Reset string should reset your printer to the way it was before you 
  386. sent the Init string.  Often a printer will have a reset code, usually 
  387. "27,64" or similar. If you don't want to use these strings just leave 
  388. them blank. 
  389.  
  390. To change or enter the Init or Reset string, use the up/down cursor keys 
  391. to select the desired string, press the left/right cursor key to indicate 
  392. that you want to change it, and then input the new string as instructed.  
  393. Remember, its a comma delimited decimal ASCII string. 
  394.  
  395. ** Saving the changes **
  396.  
  397. When you're done press the Escape key and the new values will be inserted 
  398. into Nabbit.  If Nabbit is currently in memory then you'll have to re-
  399. boot and reload it to notice the changes. 
  400.  
  401. ** Problems, etc. **
  402.  
  403. If you try to print an envelope and the printer doesn't print anything 
  404. and yet Nabbit acts as tho it did (doesn't beep at you) then grab your 
  405. printer manual, find out what character sequence is used to reset the 
  406. computer, and use the configuration program to set your Initialization 
  407. string to the reset character sequence.  On my computer the sequence is 
  408. "27,64".  Yours may be different.  This should clear up the problem 
  409.  
  410. If what Nabbit inserts is less than what you grabbed, then you grabbed 
  411. more than the buffer can hold.  Reduce the size of what you grab or use 
  412. the configuration program to increase the size of the insert buffer. 
  413.  
  414. Nabbit doesn't work with some programs, particularly those that interface 
  415. directly with the keyboard hardware without using DOS or BIOS function 
  416. calls.  Likewise, Nabbit won't insert data into certain applications.  
  417. These applications vary, but often they are telecommunications software 
  418. or games.  If you can't activate Nabbit  or you can't insert using 
  419. Nabbit, then the program you're trying to activate it from is either 
  420. misbehaved or has good reasons for not letting you interrupt.  Either way 
  421. you're stuck. 
  422.  
  423. In 256 color VGA modes, the cursor doesn't erase itself, but instead 
  424. leaves a trail of cursors behind it.  Because I can't imagine too many 
  425. programs that deal with text using the 256 color graphics modes I've 
  426. decided not to burden Nabbit with the extra code needed to correct this 
  427. annoyance. 
  428.  
  429. Sometimes Nabbit may be able to grab a character off the screen but your 
  430. printer won't be able to print it.  Worse yet, the character might be a 
  431. printer code that sends your printer off doing things you hadn't 
  432. intended.  If you're grabbing strange characters and your printer is 
  433. acting up, this is probably the reason why. 
  434.  
  435. If you run into any problems and you can't find an answer in these 
  436. instructions then give us a call at (206) 939-4105.  Technical support is 
  437. provided to registered users, so have your registration number handy.  
  438. That's about it.  I hope you find Nabbit useful and worthy of your 
  439. support.  Take care. 
  440.  
  441.                        *** Disclaimer ***
  442.  
  443. RSE Incorporated specifically disclaims all warranties expressed or 
  444. implied, including, without limitation, any implied warranties of 
  445. merchantability or fitness for a particular purpose.  The software itself 
  446. is licensed "As Is", without any express or implied warranties 
  447. whatsoever.  In no event shall RSE Incorporated, its distributors or 
  448. dealers, be liable for any loss of profit or any other commercial damage, 
  449. including, without limitation, special, incidental, consequential or 
  450. other damages.  In no case shall any liability exceed the price paid for 
  451. the software. 
  452.  
  453.